package cn.powerone.scm.mapper;

import java.util.List;
import cn.powerone.scm.domain.ScmSupplierOrderItems;
import cn.powerone.scm.domain.ScmSupplierOrderItemsWithOrderInfoVO;

/**
 * 供应商订单明细Mapper接口
 * 
 * @author PowerOne
 * @date 2025-07-04
 */
public interface ScmSupplierOrderItemsMapper 
{
    /**
     * 查询供应商订单明细
     * 
     * @param itemId 供应商订单明细主键
     * @return 供应商订单明细
     */
    public ScmSupplierOrderItems selectScmSupplierOrderItemsByItemId(Long itemId);

    /**
     * 查询供应商订单明细列表
     * 
     * @param scmSupplierOrderItems 供应商订单明细
     * @return 供应商订单明细集合
     */
    public List<ScmSupplierOrderItems> selectScmSupplierOrderItemsList(ScmSupplierOrderItems scmSupplierOrderItems);

    /**
     * 新增供应商订单明细
     * 
     * @param scmSupplierOrderItems 供应商订单明细
     * @return 结果
     */
    public int insertScmSupplierOrderItems(ScmSupplierOrderItems scmSupplierOrderItems);

    /**
     * 修改供应商订单明细
     * 
     * @param scmSupplierOrderItems 供应商订单明细
     * @return 结果
     */
    public int updateScmSupplierOrderItems(ScmSupplierOrderItems scmSupplierOrderItems);

    /**
     * 删除供应商订单明细
     * 
     * @param itemId 供应商订单明细主键
     * @return 结果
     */
    public int deleteScmSupplierOrderItemsByItemId(Long itemId);

    /**
     * 批量删除供应商订单明细
     * 
     * @param itemIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScmSupplierOrderItemsByItemIds(Long[] itemIds);

    List<ScmSupplierOrderItemsWithOrderInfoVO> selectScmSupplierOrderItemsListWithOrderInfo(ScmSupplierOrderItemsWithOrderInfoVO scmSupplierOrderItems);
}
